package com.xcy.quickhand.mapper;

import com.xcy.quickhand.model.Video;
import com.xcy.quickhand.util.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoMapper extends MyMapper<Video> {

    Integer batchInsert(List<Video> list);

    // 查询所有未被下载的视频
    List<Video> selectAllUnDownloadList();

    Integer updateHasDownLoadFlag(@Param("ids") List<Integer> ids);

}